<%@page import="net.tanesha.recaptcha.ReCaptchaFactory"%>
<%@page import="net.tanesha.recaptcha.ReCaptcha"%>
<%
String[] check=(String[]) request.getAttribute("check");
String name=(String) request.getAttribute("name");
String email=(String) request.getAttribute("email");
String title=(String) request.getAttribute("title");
String website=(String) request.getAttribute("website");
String message=(String) request.getAttribute("message");
String success=(String) request.getAttribute("success");
%>

<jsp:include page="layout/header.jsp">
	<jsp:param name="title" value="Contact" />
	<jsp:param name="description" value="" />
	<jsp:param name="keywords" value="" />
	<jsp:param name="link" value="contact" />
</jsp:include>	
<div id="content">
        	<div id="content_inner">
            	<div id="maincontent">
                    <div id="contact" class="clearafter">                        
                        <div id="userform" class="contactform clearafter">
                        	<div class="left">
                            	<ul class="list-supporter">
                                	<li>
                                    	<h3>Support 1</h3>
                                    	<div>
                                        	<!--
                                            Skype 'My status' button
                                            http://www.skype.com/go/skypebuttons
                                            -->
                                            <script type="text/javascript" src="http://download.skype.com/share/skypebuttons/js/skypeCheck.js"></script>
                                            <a href="skype:hatforrent_service2?chat"><img src="http://mystatus.skype.com/bigclassic/hatforrent_service2" width="150" style="border: none;" alt="My status" /></a>
                                        </div>
                                        <div>
                                        	<a style="margin-left: 18px;" rel="nofollow" href="ymsgr:sendIM?hatforrent_service2"><img border="0" width="110" alt="" style="vertical-align:middle" src="http://opi.yahoo.com/online?u=hatforrent_service2&m=g&t=2"></a>
                                        </div>
                                    </li>
                                    <li>
                                    	<h3>Support 2</h3>
                                    	<div>
                                        	<!--
                                            Skype 'My status' button
                                            http://www.skype.com/go/skypebuttons
                                            -->
                                            <script type="text/javascript" src="http://download.skype.com/share/skypebuttons/js/skypeCheck.js"></script>
                                            <a href="skype:hatforrent_service1?chat"><img src="http://mystatus.skype.com/bigclassic/hatforrent_service1" width="150" style="border: none;" alt="My status" /></a>
                                        </div>
                                        <div>
                                        	<a style="margin-left: 18px;" rel="nofollow" href="ymsgr:sendIM?hatforrent_service1"><img border="0" width="110" alt="" style="vertical-align:middle" src="http://opi.yahoo.com/online?u=hatforrent_service1&m=g&t=2"></a>
                                        </div>
                                    </li>
                                    <li>
                                    	<h3>Support 3</h3>
                                    	<div>
                                        	<!--
                                            Skype 'My status' button
                                            http://www.skype.com/go/skypebuttons
                                            -->
                                            <script type="text/javascript" src="http://download.skype.com/share/skypebuttons/js/skypeCheck.js"></script>
                                            <a href="skype:habogay?chat"><img src="http://mystatus.skype.com/bigclassic/habogay" width="150" style="border: none;" alt="My status" /></a>
                                        </div>
                                        <div>
                                        	<a style="margin-left: 18px;" rel="nofollow" href="ymsgr:sendIM?ha_bogay"><img border="0" width="110" alt="" style="vertical-align:middle" src="http://opi.yahoo.com/online?u=ha_bogay&m=g&t=2"></a>
                                        </div>
                                    </li>
                                </ul>
                            </div>
                            <div class="right">
                            	<h2 class="title"><img src="images/icon-email.png" /> Contact Us</h2>
                                <form method="post" action="">                                    
                                    <label class="clearafter">
                                        <span class="left">Your Name</span>
                                        <input class="input left" type="text" name="name" <%=check[0]!=null?"style='border:1px solid red;'":"" %>/>
                                    </label>
                                    <label class="clearafter">
                                        <span class="left">Your Email</span>
                                        <input class="input left" type="text" name="email" <%=check[1]!=null?"style='border:1px solid red;'":"" %>/>
                                    </label>                                                                   
                                    <label class="clearafter">
                                        <span class="left">Message Title</span>
                                        <input class="input left" type="text" <%=check[4]!=null?"style='border:1px solid red;'":"" %>/>
                                    </label>
                                    <label class="clearafter">
                                    	<span class="left">Message Content</span>
                                    	<textarea class="left" name="message" <%=check[2]!=null?"style='border:1px solid red;'":"" %>></textarea>
                                    </label>
                                    <label>
                                    	<%=check[3]!=null?"<div class=\"error\">"+check[3]+"</div>":"" %>
	                                    <script>
							        	var RecaptchaOptions = { theme : 'clean' };
								  		</script>
										<%
											//6LdXmcISAAAAAHz6FsABghup-EayldUCiKQyDPAk //public
											//6LdXmcISAAAAANPIv5ykGg3LAlBMnUQHzy3-Kiqo //private
								          ReCaptcha c = ReCaptchaFactory.newReCaptcha("6LcF-80SAAAAACucExTAmD8RBzETYxDZ35DkbMVF", "6LcF-80SAAAAAM2kArjyUwtVJYbH_DKredY3Q26U", false);
								          out.print(c.createRecaptchaHtml(null, null));
								        %>
								        
							        </label>
                                    <input style="margin-left: 23%;" type="submit" value="submit" />
                                </form>
                            </div>
                        </div>
                    </div>                    
                </div>
            </div>
        </div>        
<%@ include file='/layout/footer.jsp'%>          